.dropdown-submenu {
  position: relative;

  .dropdown-toggle {
    box-shadow: none !important;
  }
}

/*下拉-底部-朝左*/
.dropdown-left>.dropdown-menu {
  right: 0;
  left: auto;
}


.dropleft>.dropdown-menu {
  top: 0;
  right: 100%;
  left: auto !important;
  margin-right: -1px;
}

/*二级下拉*/
.dropdown-submenu {

  // 下拉图标显示位置
  .dropdown-item.dropdown-toggle {
    padding-right: #{2 * $farris-dropdown-item-padding-x};
  }

  /*分开下拉*/
  &>.dropdown-toggle.dropdown-toggle-split {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    right: 0;
    left: auto;
    margin-top: -12px;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;

    &:hover {
      color: $f-text-04;
      background: $f-aid-02;
    }
  }

  /*与文字混在一起的下拉*/
  &>.dropdown-item.dropdown-toggle::after,
  &>.dropdown-item.dropdown-toggle::before {
    position: absolute;
    top: 50%;
    right: 9px;
    left: auto;
    margin-top: -4px;
  }

  /*朝右*/
  
  &.dropright>.dropdown-item.dropdown-toggle::before {

    margin-top: -$f-cursor-line-width;

  }

  /*朝左*/
  &.dropleft>.dropdown-item.dropdown-toggle::before {
    margin-top: -$f-cursor-line-width;
  }
}


.dropright>.dropdown-menu {
  margin-left: -1px;
}

// btn-secondary带边线
.btn-group .btn-secondary+.dropdown-toggle-split {
  margin-left: -1px;
}

// 响应式工具条
.f-response-content {
  .dropdown-item {
    box-shadow: none !important;

    &.f-rt-toggle,
    &.f-rt-btn {
      cursor: pointer;

      &.disabled {
        cursor: default;
      }
    }
  }
}